<?php

header("Content-Type: text/html; charset=utf-8");
require_once("../../core/cfg.php");
require_once("../../core/functions.php");

$ex = explode("_", $_POST["m_param"]);
$ob_left_menu = new tree($_POST["section"]);
$ob_left_menu->registry_parent_id($thisid);
$ob_left_menu->m_param_id     = $ex[0]; 
$ob_left_menu->m_param_parent = $ex[1]; 
$out["LEFT_MENU"] = $ob_left_menu->getMenu($_POST["parent"], $_POST["iterator"], $thisid);

Registry::get("smarty")->assign($out);
exit(Registry::get("smarty")->fetch(TEMPLATE_ADMIN."left_menu.tpl", Registry::get("cache_id")));

?>